+Thu May 3 07:00:09 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
+ to fix things so clicking inside selection leaves cursor
+ at point where clicked. (#50324)
+
+ * gtk/gtksettings.c (gtk_settings_class_init): Restore
+ sane value for default double click time.
+
+ * tests/testtext.c (test_init): Really path to input modules.
+
2001-05-03 Sven Neumann <sven@convergence.de>
* demos/testpixbuf-save.c: include target-specific headers as
+Thu May 3 07:00:09 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
+ to fix things so clicking inside selection leaves cursor
+ at point where clicked. (#50324)
+
+ * gtk/gtksettings.c (gtk_settings_class_init): Restore
+ sane value for default double click time.
+
+ * tests/testtext.c (test_init): Really path to input modules.
+
2001-05-03 Sven Neumann <sven@convergence.de>
* demos/testpixbuf-save.c: include target-specific headers as
+Thu May 3 07:00:09 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
+ to fix things so clicking inside selection leaves cursor
+ at point where clicked. (#50324)
+
+ * gtk/gtksettings.c (gtk_settings_class_init): Restore
+ sane value for default double click time.
+
+ * tests/testtext.c (test_init): Really path to input modules.
+
2001-05-03 Sven Neumann <sven@convergence.de>
* demos/testpixbuf-save.c: include target-specific headers as
+Thu May 3 07:00:09 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
+ to fix things so clicking inside selection leaves cursor
+ at point where clicked. (#50324)
+
+ * gtk/gtksettings.c (gtk_settings_class_init): Restore
+ sane value for default double click time.
+
+ * tests/testtext.c (test_init): Really path to input modules.
+
2001-05-03 Sven Neumann <sven@convergence.de>
* demos/testpixbuf-save.c: include target-specific headers as
+Thu May 3 07:00:09 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
+ to fix things so clicking inside selection leaves cursor
+ at point where clicked. (#50324)
+
+ * gtk/gtksettings.c (gtk_settings_class_init): Restore
+ sane value for default double click time.
+
+ * tests/testtext.c (test_init): Really path to input modules.
+
2001-05-03 Sven Neumann <sven@convergence.de>
* demos/testpixbuf-save.c: include target-specific headers as
+Thu May 3 07:00:09 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
+ to fix things so clicking inside selection leaves cursor
+ at point where clicked. (#50324)
+
+ * gtk/gtksettings.c (gtk_settings_class_init): Restore
+ sane value for default double click time.
+
+ * tests/testtext.c (test_init): Really path to input modules.
+
2001-05-03 Sven Neumann <sven@convergence.de>
* demos/testpixbuf-save.c: include target-specific headers as
+Thu May 3 07:00:09 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextview.c: Patch from Juan Pablo Mendoza Mendoza
+ to fix things so clicking inside selection leaves cursor
+ at point where clicked. (#50324)
+
+ * gtk/gtksettings.c (gtk_settings_class_init): Restore
+ sane value for default double click time.
+
+ * tests/testtext.c (test_init): Really path to input modules.
+
2001-05-03 Sven Neumann <sven@convergence.de>
* demos/testpixbuf-save.c: include target-specific headers as
g_param_spec_int ("gtk-double-click-timeout",
_("Double Click Timeout"),
_("Maximum time allowed between two clicks for them to be considered a double click"),
- 0, G_MAXINT, 1000,
+ 0, G_MAXINT, 250,
G_PARAM_READWRITE),
NULL);
g_assert (result == PROP_DOUBLE_CLICK_TIMEOUT);
}
else
{
+ GtkTextIter iter;
+
/* Unselect everything; probably we were dragging, or clicked
- * outside the text.
+ * without dragging to remove selection.
*/
- gtk_text_view_unselect (text_view);
+ gtk_text_layout_get_iter_at_pixel (text_view->layout,
+ &iter,
+ event->x + text_view->xoffset,
+ event->y + text_view->yoffset);
+
+ gtk_text_buffer_place_cursor (get_buffer (text_view), &iter);
+
return FALSE;
}
}
if (file_exists ("../gdk-pixbuf/.libs/libpixbufloader-pnm.so"))
{
putenv ("GDK_PIXBUF_MODULEDIR=../gdk-pixbuf/.libs");
- putenv ("GTK_IM_MODULE_FILE=../gtk/gtk.immodules");
+ putenv ("GTK_IM_MODULE_FILE=../modules/input/gtk.immodules");
}
}